<extend name="Index/index"/>

<block name="main">
    <div class="container">
        <form action="<{:U('upload',array('id'=>$id))}>" method="post" enctype="multipart/form-data" class="form-horizontal">
            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">手机号 ：</label>
                    <div class="col-sm-4">
                        <input type="text" name="phone" value="<{$list.phone}>" class="form-control" placeholder="请输入影院名">
                    </div>
            </div>
            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">用户名 ：</label>
                    <div class="col-sm-4">
                        <input type="text" name="name" value="<{$list.name}>" class="form-control" placeholder="请输入用户名">
                    </div>
            </div>
            <div class="form-group">
                    <label class="col-sm-2 control-label">性别 ： </label>
                    <div class="col-sm-4"> 
                        <input type="radio" name="sex" value="0" <if condition="$list.sex eq 0">checked</if>>女
                        <input type="radio" name="sex" value="1" <if condition="$list.sex eq 1">checked</if>>男
                        <input type="radio" name="sex" value="2" <if condition="$list.sex eq 2">checked</if>>保密
                    </div>
            </div>
            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">邮箱 ：</label>
                    <div class="col-sm-4">
                        <input type="email" name="email" value="<{$list.email}>" class="form-control" placeholder="请输入邮箱">
                    </div>
            </div>
            <div class="form-group">
                    <label for="" class="col-sm-2 control-label">上传图片 ：</label>
                    <div class="col-sm-4">
                        <input type="file" name="icon" class="form-control">
                    </div>
            </div>
            <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-4">
                      <button type="submit" class="btn btn-default">保存</button>
                    </div>
             </div>

           
        </form>
    </div>
</block>
